idleTicks
Type
property
Summary
Specifies the number of ticks between idle, mouseStillDown, and mouseWithin messages.
Syntax
set the idleTicks to <number>
Description
Adjust the idleTicks property to change the interval between periodically-sent messages. Increasing the idleTicks causes these messages to be sent less frequently, and decreases the amount of CPU time the application uses.
The idleTicks is the time in ticks between one idle message and the next, one mouseStillDown message and the next, and one mouseWithin message and the next.
Some Unix systems cannot reliably time an interval less than 12 ticks. Setting a shorter idleTicks on those systems may cause idle messages to be sent at erratic times.
This property is very similar to the idleRate property, and changes when the idleRate changes. The only difference is that the two properties are given in different time units: the idleRate is in milliseconds and the idleTicks is in ticks.
Examples
set the idleTicks to 60 -- 1 second interval
Related
function: ticks, milliseconds
glossary: property, application, message, Unix
message: idle, mouseStillDown, mouseWithin
property: idleRate, properties
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile